<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
</head>
<body>
    <form action="/servletDemo2" method="get">
        姓名:<input type="text" name="username"><br>
        密码:<input type="number" name="password"><br>
        爱好:<input type="checkbox" name="hobby" value="studt">学习
            <input type="checkbox" name="hobby" value="game">游戏<br>
        <input type="submit" value="注册">
    </form>
</body>
</html>